﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/Template.master" AutoEventWireup="true" CodeBehind="API_empleado_agregar.aspx.cs" Inherits="UricaoWeb.Presentacion.API_agregar_empleado" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Style" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TituloModulo" runat="server">
    <h2>Empleado</h2>
</asp:Content>



<asp:Content ID="Content3" ContentPlaceHolderID="OpcionesModulo" runat="server">
<!--    <a href="#" style="text-align:center;" class="button1">Agregar Empleado</a>
    <a href="API_Empleado_Consultar.aspx" style="text-align:center;" class="button1">Consultar/Modificar Empleado</a> -->

    <div id='cssmenu'>
        <ul>
           <li class='has-sub'><a href='API_empleado_agregar.aspx'><span>Agregar</span></a>
              
           </li>
           <li class='has-sub'><a href='API_Empleado_Consultar.aspx'><span>Consultar</span></a>
           </li>  
        </ul>
    </div>
</asp:Content> 
<asp:Content ID="Content4" ContentPlaceHolderID="ContenidoDelModulo" runat="server">
    <form id="server" runat="server">
    <h2>Agregar Empleado</h2>
        
        <div class="wrapper">
					<p class="pad_bot2">
                        Nombre:
                        <strong style="font-weight: normal">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="nombreTxtBox" runat="server" BorderColor="#cccccc" BorderStyle="Solid" BorderWidth="1px" event="txtCaracter_KeyPress"></asp:TextBox>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        Apellido:
                        &nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="apellidoTxtBox" runat="server" BorderColor="#cccccc" BorderStyle="Solid" BorderWidth="1px"></asp:TextBox>
                        </strong>
					</p>
					<p class="pad_bot2">&nbsp;</p>
		</div>

        <div class="wrapper">
					<p class="pad_bot2">
                        Fecha de Nacimiento:
                        <strong style="font-weight: normal">
                        &nbsp;&nbsp;
                        <asp:TextBox ID="fechaNacTxtBox" runat="server" BorderColor="#cccccc" BorderStyle="Solid" BorderWidth="1px" TextMode="Date" OnServerValidate="CustomValidator1_ServerValidate"></asp:TextBox>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        E-mail:
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="correoTxtBox" runat="server" BorderColor="#cccccc" BorderStyle="Solid" BorderWidth="1px"></asp:TextBox>
                        </strong>
					</p>
					<p class="pad_bot2">&nbsp;</p>
		</div>

        <div class="wrapper">
					<p class="pad_bot2">
                        Dirección:
                        <strong style="font-weight: normal">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="direccionTxtBox" runat="server" BorderColor="#cccccc" BorderStyle="Solid" BorderWidth="1px" Width="435"></asp:TextBox>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        </strong>
                    </p>
					<p class="pad_bot2">&nbsp;</p>
		</div>

        <div class="wrapper">
					<p class="pad_bot2">
                        Cargo:
                        <strong style="font-weight: normal">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:DropDownList ID="CBlistaCargos" 
										RunAt="Server" 
										CssClass="inputPersonalizado color1" 
                                        
										Height="22px" Width="124px">
                                <asp:ListItem Text="Elija un cargo..." Value="0" />
							</asp:DropDownList>
                        </strong>
                    </p>
					<p class="pad_bot2">&nbsp;</p>
		</div>

        <div class="wrapper">
					<p class="pad_bot2">
                        <strong>
                            &nbsp;
                        </strong>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
					</p>
                    <p class="pad_bot2">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button2" Class="botonRegresar" OnClick="Regresar" runat="server" Text="Cancelar"/>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button3" Class="botonContinuar" runat="server" Text="Registrar" OnClick="InsertarEmpleado" />
                        &nbsp;&nbsp;&nbsp;
                    </p>
                    <p class="pad_bot2">&nbsp;</p>
				
        </div>

    </form>            
</asp:Content>